import { http } from '@/utils'

/* 回调服务器获取文件Id */
export function getFileInfoCallback(data?: AnyObject) {
  return http.post({
    url: '/wpc-return-visit/fileUpload/putAliOssFile',
    data,
    header: {
      'blade-auth':
        'bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJsb2dpblR5cGUiOiJsb2dpbiIsImxvZ2luSWQiOiIxNzcyODE4NzM0MDQ5NTA5Mzc4X3VzZXJfMjU3M19taW5pXzE3MjkwNDA4MzUzMjA1MjQ4MDIiLCJyblN0ciI6IjlMbHZzYlZoeDZBM3VEWldjZ1hTTDE1TkRRWEJ4MHVGIiwiQkVFX1VTRVIiOnsidXNlcklkIjoiMjU3MyIsInRlbmFudElkIjoiOTkiLCJ0ZW5hbnRUeXBlIjoxLCJ1c2VyTmFtZSI6IjE4NTMzNzQxOTUyIiwibW9iaWxlIjoiMTg1MzM3NDE5NTIiLCJyZWFsTmFtZSI6IumZiOaWh-a7qCIsInRlbmFudElkcyI6WyI5OSIsIjIzIiwiMTEiLCIyIl0sImJhc2VBcHBJZCI6IjEwMDAwMDAwMDAyMDIyMDcwOUJvIiwibWluaVVzZXJJZCI6IjE3MjkwNDA4MzUzMjA1MjQ4MDIiLCJ1c2VyUm9sZUxldmVsIjozLCJvcGVuSWQiOiJvVDFIOTVOeFJBY3ZIR3JtckdXV0xKVjZMX0hrIn19.vWaGAJoww6Q6LTDKsEUv4iljwnjLCgnNj06tSD6vOxs'
    }
  })
}
